package com.azier.kapacitor.script.method;

import com.azier.kapacitor.script.arg.LambdaArg;

import java.util.ArrayList;

/**
* 1 * @Author: luoj
* 2 * @Date: 2019/11/8 11:27
* 3
*/
public class Replicas extends AbstractMethod {
    private static final String name = "replicas";
    /**
    Replicas is a lambda expression that should evaluate to the desired number of replicas for the resource.
    **/
    /**
    副本是一个lambda表达式，其值应为资源的所需副本数。
    **/
    public Replicas(String condition) {
        super(new ArrayList<>(), name);
        //
        this.args.add(new LambdaArg(condition));


    }
}
